package com.lzm.ydpt.mvp.modelimpl;

import com.byt.framlib.basemvp.basebean.BaseResponseBean;
import com.lzm.ydpt.entity.UserInfo;
import com.lzm.ydpt.mvp.api.APIManager;
import com.lzm.ydpt.mvp.contract.WelContract;

import java.util.List;

import io.reactivex.Observable;
import okhttp3.RequestBody;

/**
 * 类名称：WelModelImpl
 * 类描述：模型实现
 */
public class WelModelImpl implements WelContract.Model {

    @Override
    public Observable<BaseResponseBean<List<UserInfo>>> onWel(RequestBody body) {
        return  APIManager.getInstance().getAPIService().onLogin(body);
    }
}